pub fn new_count_distinct(input_str: &str) -> usize {
    let mut unique_elements = Vec::new();

    for element in input_str.split(',') {
        if !unique_elements.contains(&element) {
            unique_elements.push(element);
        }
    }
    unique_elements.len()
}
